package team.ttorder.ttorder.dao;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import team.ttorder.ttorder.model.Food;
import team.ttorder.ttorder.mymapper.MyMapper;

public interface FoodMapper extends MyMapper<Food> {

	@Select("select * from food where food_type_id = #{id}")
	public List<Food> getFoodByFoodTypeId(Integer id);

	@Select("delete from food where food_type_id = #{id}")
	public void deleteByFoodTypeId(Integer id);
}
